package com.xiaoq.sites.entity;

import java.io.Serializable;

import org.mongodb.morphia.annotations.Entity;
import org.mongodb.morphia.annotations.Transient;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.xiaoq.MongoEntity;

@Entity(value="sites_infrastructure",noClassnameStored=true)
public class InfrastructureBaseEntity extends MongoEntity implements Serializable {
	
	@JsonIgnore
	@Transient
	private static final long serialVersionUID = 5458362834060764196L;
	protected String name;
	protected Double longitude;
	protected Double latitude;
	protected String sitesId;
	protected String imgUrl;
	protected String memo;

	protected String cityCode;
	/**设施类型
	 * 1-洗手间、2-服务中心、3-商品部、4-停车场、5-出入口、
	 * 6-休息区、7-售票处、8-缆车站、9-观光车站、10-游船码头
	 * 11-公交车站  12-餐饮
	 */
	protected int infraType;


	public String getCityCode() {
		return cityCode;
	}

	public void setCityCode(String cityCode) {
		this.cityCode = cityCode;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Double getLongitude() {
		return longitude;
	}

	public void setLongitude(Double longitude) {
		this.longitude = longitude;
	}

	public Double getLatitude() {
		return latitude;
	}

	public void setLatitude(Double latitude) {
		this.latitude = latitude;
	}

	public String getSitesId() {
		return sitesId;
	}

	public void setSitesId(String sitesId) {
		this.sitesId = sitesId;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

	public String getMemo() {
		return memo;
	}

	public void setMemo(String memo) {
		this.memo = memo;
	}

	public int getInfraType() {
		return infraType;
	}

	public void setInfraType(int infraType) {
		this.infraType = infraType;
	}
}
